# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(IesiriObiecteInventar)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Iesiri_SRCS iesiriplugin.cpp iesiri.cpp descarcare.cpp descarcarespinboxdelegate.cpp descarcarepreturimodel.cpp)
QT4_WRAP_CPP(Iesiri_SRCS iesiriplugin.h iesiri.h descarcare.h descarcarespinboxdelegate.h descarcarepreturimodel.h)
QT4_WRAP_UI(Iesiri_SRCS iesiri.ui descarcare.ui)
QT4_ADD_RESOURCES(Iesiri_SRCS iesiri.qrc)

add_library(IesiriObiecteInventar SHARED ${Iesiri_SRCS})
add_dependencies(IesiriObiecteInventar KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(IesiriObiecteInventar KontAMabil ${QT_LIBRARIES})

install(TARGETS IesiriObiecteInventar ${INSTALL_PLUGINS_DEFAULT_ARGS})
